function imgFil(v) {

    // "https://b-ssl.duitang.com/uploads/item/201705/14/20170514073326_zu2yh.jpeg"

    // "https://b-ssl.duitang.com/uploads/item/201705/14/20170514073326_zu2yh.thumb.300_0.jpeg"
    if (!v) {
        return ""
    }
    var s4 = v.substr(0, 69)
    var s3 = "thumb.300_0"
    return  s4 + "." + s3  

}

function imgDil(d) {
    if (!d) {
        return ''
    }
    // https://b-ssl.duitang.com/uploads/people/201706/09/20170609113557_dTK3y.jpeg
    // https://b-ssl.duitang.com/uploads/people/201706/09/20170609113557_dTK3y.thumb.600_0_c.jpeg
    // https://b-ssl.duitang.com/uploads/people/201706/06/20170606144646_Br54M.thumb.600_0_c.jpeg

    var d1 = d.substring(0, 70)
    var d2 = "thumb.600_0_c"
    return d1 + '.' + d2 
}
export { imgFil,imgDil }